Skip to main content

Query Sub-Account Fund Records

Type: GET

Description: /v4/user/account/broker-sub/fund-records

Queries deposit or withdrawal records with cursor pagination. Full history is supported. Sign the request with the broker master account's API Key.

Parameters​

NameTypeMandatoryDefaultDescriptionRanges
uidlongtrue-The broker's own master account uid or a sub-account id belonging to the broker-
typestringtrue-Record typeIN_DEPOSIT (deposit), OUT_WITHDRAW (withdrawal / sub-to-master transfer out)
currencystringfalse-Currency filter-
statusstringfalseSUCCESSStatus filter; ALL returns all statusesSUBMIT, REVIEW, AUDITED, PENDING, SUCCESS, FAIL, CANCEL, ALL
startTimelongfalse-Creation time range start (milliseconds); omit both start and end for full historyMillisecond timestamp
endTimelongfalse-Creation time range end (milliseconds)Millisecond timestamp
updateStartTimelongfalse-Update time range start (milliseconds)Millisecond timestamp
updateEndTimelongfalse-Update time range end (milliseconds)Millisecond timestamp
fromIdlongfalse-Cursor (record id)-
directionstringfalseNEXTPaging direction, case-insensitiveNEXT, PREV
limitintfalse50Items per page1-100

Request Example​

curl -X GET '{baseUrl}/v4/user/account/broker-sub/fund-records?uid=10645823292041&type=OUT_WITHDRAW&limit=50' \
-H 'validate-algorithms: HmacSHA256' \
-H 'validate-appkey: {accessKey}' \
-H 'validate-recvwindow: 5000' \
-H 'validate-timestamp: {timestamp}' \
-H 'validate-signature: {signature}'

Response Example​

Response
{
"rc": 0,
"mc": "SUCCESS",
"result": {
"items": [
{
"id": 680273498850183424,
"userId": 9807285125185,
"accountId": 10645823292041,
"type": "OUT_SUB_TRANSFER_OUT",
"currency": "usdt",
"chain": null,
"amount": "100.00000000",
"amountU": "100.00000000",
"fee": null,
"status": "SUCCESS",
"createdTime": 1792144413000,
"updatedTime": null
}
],
"hasPrev": false,
"hasNext": false
}
}

Response Parameters​

NameTypeDescription
items[].idlongRecord id, also used as the cursor
items[].userIdlongBroker master account uid
items[].accountIdlongAccount id
items[].typestringRecord type, e.g. IN_DEPOSIT, OUT_WITHDRAW, OUT_SUB_TRANSFER_OUT (sub-to-master transfer out)
items[].currencystringCurrency
items[].chainstringChain; null for internal transfers
items[].amountstringAmount in the original currency
items[].amountUstringAmount converted to USDT at the price at the time of the record
items[].feestringFee
items[].statusstringStatus: SUBMIT / REVIEW / AUDITED / PENDING / SUCCESS / FAIL / CANCEL
items[].createdTimelongCreation time (milliseconds)
items[].updatedTimelongUpdate time (milliseconds)
hasPrevbooleanWhether there is a previous page
hasNextbooleanWhether there is a next page